export default {
  // Common
  common: {
    confirm: "Confirm",
    cancel: "Cancel",
    save: "Save",
    delete: "Delete",
    edit: "Edit",
    add: "Add",
    search: "Search",
    reset: "Reset",
    refresh: "Refresh",
    loading: "Loading...",
    noData: "No Data",
    success: "Success",
    error: "Error",
    warning: "Warning",
    info: "Info",
  },

  // Menu
  menu: {
    dashboard: "Dashboard",
    userManagement: "User Management",
    users: "User List",
    roles: "Role Management",
    knowledgeManagement: "Knowledge Management",
    categories: "Categories",
    articles: "Articles",
    videos: "Videos",
    questions: "Questions",
    eventManagement: "Event Management",
    eventTypes: "Event Types",
    eventRecords: "Event Records",
    volunteerManagement: "Volunteer Management",
    volunteerApplications: "Applications",
    volunteerList: "Volunteer List",
    notificationManagement: "Notifications",
    sendNotifications: "Send Notifications",
    notificationHistory: "Notification History",
    systemSettings: "System Settings",
    fileManagement: "File Management",
  },

  // User Management
  user: {
    username: "Username",
    realName: "Real Name",
    email: "Email",
    phone: "Phone",
    department: "Department",
    class: "Class",
    status: "Status",
    role: "Role",
    createTime: "Create Time",
    actions: "Actions",
    addUser: "Add User",
    editUser: "Edit User",
    deleteUser: "Delete User",
    userForm: {
      username: "Username",
      password: "Password",
      confirmPassword: "Confirm Password",
      email: "Email Address",
      phone: "Phone Number",
      realName: "Real Name",
      department: "Department",
      class: "Class",
      role: "User Role",
      status: "Account Status",
    },
    statusOptions: {
      active: "Active",
      inactive: "Inactive",
      suspended: "Suspended",
    },
  },

  // Role Management
  role: {
    name: "Role Name",
    description: "Description",
    permissions: "Permissions",
    createTime: "Create Time",
    addRole: "Add Role",
    editRole: "Edit Role",
    deleteRole: "Delete Role",
    managePermissions: "Manage Permissions",
    roleForm: {
      name: "Role Name",
      description: "Role Description",
      permissions: "Role Permissions",
    },
  },

  // Knowledge Management
  knowledge: {
    category: {
      name: "Category Name",
      description: "Description",
      icon: "Icon",
      sortOrder: "Sort Order",
      articleCount: "Article Count",
      createTime: "Create Time",
      addCategory: "Add Category",
      editCategory: "Edit Category",
      deleteCategory: "Delete Category",
      categoryForm: {
        name: "Category Name",
        description: "Category Description",
        icon: "Category Icon",
        sortOrder: "Display Order",
        status: "Category Status",
      },
    },
  },

  // Validation Messages
  validation: {
    required: "{field} is required",
    email: "Please enter a valid email address",
    phone: "Please enter a valid phone number",
    minLength: "{field} must be at least {len} characters",
    maxLength: "{field} cannot exceed {len} characters",
    passwordMismatch: "Passwords do not match",
  },

  // Confirm Dialogs
  confirm: {
    delete: "Are you sure to delete {name}? This action cannot be undone.",
    logout: "Are you sure to logout?",
  },

  // Message Tips
  message: {
    loginSuccess: "Login successful",
    logoutSuccess: "Logout successful",
    saveSuccess: "Save successful",
    deleteSuccess: "Delete successful",
    operationSuccess: "Operation successful",
    networkError: "Network error, please check your connection",
    serverError: "Server error, please try again later",
    permissionDenied: "Permission denied",
  },
};
